package com.jinzhi.jzweb.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.jzapi.examination.pojo.ExaminationsVo;
import com.jinzhi.jzweb.domain.*;
import com.jinzhi.common.base.BaseDao;
import com.jinzhi.jzweb.pojo.MrkRefereeVO;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 打分表
 * </pre>
 * <small> 2023-06-19 08:45:15 | lance</small>
 */
public interface MarkDao extends BaseDao<MarkDO> {
    List<MarkDO> selectListMarkDO(Page<MarkDO> page, Map map);

    List<MarkDO> selectListPageMarkDOSecure(Page<MarkDO> page,ExaminationsVo examinationsVo);

    List<MarkStatisticsVO> selectListPageMarkStatisticsVO(Page<MarkStatisticsVO> page, Map map);

    List<MarkStatisticsVO> selectListPageMarkStatisticsVO(Map map);

    List<MarkDO> selectListMarkDO(Map map);

    List<MarkVO> selectListMarkVO(Map map);

    List<MrkRefereeVO> selectRefereeId(Map map);

    String selTotalScore(Map map);

    String selTotalScoreBC(Map map);

    List<Double> selMaxMinScore(Map map);

    List<Double> selMaxMinScoreA(Map map);

    List<Double> selMaxMinScoreStudent(Map map);

    List<MarkVO> selEditData(Map map);

    List<MarkVO>  sleMarkByebatchIdAndSignId(Map map);

    List<String> selScoreABC(Map map);

    List<MarkVO> seleScoreTopicContent(Map map);

    List<MarkVO> selectAListScore(Map map);

    List<MarkVO> selectAListStatusScore(Map map);

    List<MarkVO> seleScoreTopicContentStandby(Map map);

    List<MarkVO> selectAScore(Map map);

    List<MrkRefereeVO> selectReferee(Map map);

    List<MarkVO> selectMark(Map map);

    List<MrkRefereeVO> selectRefereeSize(Map map);

    List<MarkVO> selectRefereeBCSize(Map map);

    List<MarkVO> selectScoreStatistics(MarkDO markDO);

    List<MarkVO> selectScoreDifference(MarkDO markDO);

    /**
     * 查询A赛场案例分析裁判打分
     */
    List<MarkVO> listScoreRefereeA(ExaminationsVo examinationsVo);
}
